package so.sao.shop.supplier.pojo.vo;

import lombok.Getter;
import lombok.Setter;
import java.math.BigDecimal;

/**
 * <p>
 * 订单明细表对应的vo类
 * </p>
 *
 * @author 透云-中软-西安项目组-zhenhai.zheng
 * @since 2017年7月20日
 */
@Getter
@Setter
public class AccountPurchaseItemVo {

    /**
     * 详情编号
     */
    private Long detailsId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 商品数量
     */
    private Integer goodsNumber;

    /**
     * 商品商家编号
     */
    private String code;

    /**
     * 商品条码
     */
    private String code69;

    /**
     * 规格值
     */
    private String goodsAttribute;

    /**
     * app订货价(科学计数法)
     */
    private BigDecimal goodsUnitPrice;

    /**
     * 商品总价(科学记数法)
     */
    private BigDecimal goodsTatolPrice;

    /**
     * 商品图片
     */
    private String goodsImage;

    /**
     * 商品品牌
     */
    private String brandName;

    /**
     * 0.退货退款,1.换货
     */
    private Integer type;

    /**
     * 退款金额
     */
    private BigDecimal returnMoney;

    /**
     * 0.已完成(初始化状态),1.退款/换货申请中,2.审核通过,3.拒绝退款/换货,4.退款/换货中,5.已退款/已换货,6.退货/换货取消
     */
    private Integer status;

    /**
     * 优惠金额
     */
    private BigDecimal goodsDiscount;

    @Override
    public String toString() {
        return "AccountPurchaseItemVo{" +
                "detailsId=" + detailsId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsNumber=" + goodsNumber +
                ", code='" + code + '\'' +
                ", code69='" + code69 + '\'' +
                ", goodsAttribute='" + goodsAttribute + '\'' +
                ", goodsUnitPrice=" + goodsUnitPrice +
                ", goodsTatolPrice=" + goodsTatolPrice +
                ", goodsImage='" + goodsImage + '\'' +
                ", brandName='" + brandName + '\'' +
                ", type=" + type +
                ", returnMoney=" + returnMoney +
                ", status=" + status +
                ", goodsDiscount=" + goodsDiscount +
                '}';
    }
}
